setAccessibilityPaneTitle
Visually distinct portion of a window with window-like semantics are considered panes for accessibility purposes. One example is the content view of a large fragment that is replaced. In order for accessibility services to understand a pane's window-like behavior, panes should have descriptive titles. Views with pane titles produce TYPE_WINDOW_STATE_CHANGEDs when they appear, disappear, or change title.
When transitioning from one Activity to another, instead of using setAccessibilityPaneTitle(), set a descriptive title for your activity's window by using android:label
for the matching entry in your application’s manifest or updating the title at runtime with .
To set the pane title in xml, use android:accessibilityPaneTitle
.
Parameters
The view whose pane title should be set.
The pane's title. Setting to null
indicates that this View is not a pane.
Compatibility:
- API <19: No-op